FROM xdl/node79

WORKDIR /home/Service/ceshi

COPY ./ /home/Service/
RUN cd /home/Service/ceshi
#RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
#RUN cnpm i --production
ENV TZ=Asia/Shanghai
#ENV EGG_SERVER_ENV=prod
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN npm install
#RUN npm run build

#EXPOSE 7001,3000
#CMD ["npm","start"]